package cn.tedu.weibo.common.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    NOT_LOGIN(1000,"未登录"),
    UNAME_PWD_ERROR(1001,"用户名或密码错误"),
    USERNAME_ALREADY_EXIST(1003,"用户名已存在"),
    OPERATION_FAILED(1004,"操作失败"),
    OPERATION_SUCCESS(1005,"操作成功");

    private Integer status;
    private String message;
}
